package com.zzw.hotspot;

import java.util.List;

import com.google.common.collect.Lists;

public class Test {

	static class OOMObject{
		private Integer old;
		private String name;
		
		public OOMObject(){
			
		}
		
		public OOMObject(Integer old,String name){
			this.old = old;
			this.name = name;
		}
	}
	
	public static void main(String[] args) {
		List<OOMObject> list = Lists.newArrayList();
		while(true){
			list.add(new OOMObject(10,"test"));
		}
	}
}
